<template>
  <el-upload
    :auto-upload="false"
    class="upload-demo"
    drag
    :action="url"
    multiple>
    <i class="el-icon-upload"></i>
    <div class="el-upload__text">将文件拖到此处，或<em>点击上传</em></div>
    <div class="el-upload__tip" >只能上传xml文件</div>
  </el-upload>
</template>

<script>
  export default {
    name: "upload",
    data(){
      return{
        url:''
      }
    }
  }
</script>

<style scoped>

</style>
